Universal Access To All Knowledge
Home Donate | Store | Blog | FAQ | Jobs | Volunteer Positions | Contact | Bios | Forums | Projects | Terms, Privacy, & Copyright
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | Go Back
View Post [edit]

Poster: onlynone Date: Jan 23, 2014 9:41am
Forum: web Subject: Javascript messing up archived page

The wayback machine has archived this page: http://www.plugpower.com/company/history.cfm?sr=1&;yr=1997

The latest archived versions show the same 404 page that is currently being served up at the source site:

http://web.archive.org/web/20130329103109/http://plugpower.com/company/history.cfm?sr=1&;yr=1997

Earlier archived versions (around 2007) have the original page content:

http://web.archive.org/web/20071017065046/http://plugpower.com/company/history.cfm?sr=1&;yr=1997

However, because of some weird javascript on the page that calls location.replace(), it immediately attempts to redirect to:

http://web.archive.org/web/20071017065046/http://www.plugpower.com/includes/create_visitor.cfm?psid=16&;w=1440&h=900&aw=1440&ah=812&cd=24

Which doesn't exist in the archive. If I turn off javascript, the page still doesn't display correctly because it uses a lot of javascript to make the page actually work. All the content for the page is there (for example, download the source and search for "Plug Power became the first") it just doesn't display because the javascript does some stuff with the CSS visibility attribute.

Is there some way to selectively disable javascript for a page? It would be really cool if the archive URL could support specifying something like that, say via an xpath string or something. In this example, if I could tell the wayback machine to remove the '/html/head/script[2]' node, it would fix this problem.

EDIT: The forum software is inserting semicolons after ampersands in my URLs above, obviously the links won't work, you'll have to copy the text and remove semicolons before visiting the pages.

This post was modified by onlynone on 2014-01-23 17:41:53